Skip to content

Conversation

@e11sy
Copy link
Contributor

@e11sy e11sy commented Aug 9, 2025

Problem

Now for project overview we get repetition, original event and daily info and send them to the garage, where we merge them

Changes

  • Now repetition would be merged with original event on api part
  • Switch to cursor based pagination instead of the offset based one
    new return format of the project overview query
{
    "data": {
        "project": {
            "dailyEventsPortion": {
+               "nextCursor": "stringified-object-id", // daily event id 
                "dailyEvents": [
                    { // DailyEvent
                        _id: "stringified-object-id",
                        groupingTimestamp: 1751539128,
                        count: 20,
                        affectedUsers: 2,
                        event: {
                            "id": "stringified-object-id",
                            "groupHash": "group-hash....",
                            "totalCount": 31442,
                            "affectedUsers": 2211,
                            "assignee": null,
                            "visitedBy": [
                                {
                                    "id": "stringified-object-id",
                                    "email": "[email protected]",
                                    "name": "[email protected]",
                                    "image": null
                                },
                                {
                                    "id": "stringified-object-id",
                                    "email": "[email protected]",
                                    "name": "Specc",
                                    "image": "https://static.hawk.so/b2a1ee88-cc5c-44e3-ab6e-654f0f0d9b81.jpeg"
                                }
                            ],
                            "marks": {
                                "resolved": false,
                                "starred": false,
                                "ignored": false
                            },
                            "catcherType": "errors/php",
                            "timestamp": 1751539128,
-                            "firstAppearanceTimestamp": 1751539002,
+                            "originalTimestamp": 1751539002,
+                            "originalId": "687bc695e2a819d1cef8670a",
                            "payload": {
                                "title": "USER_HIT_DATA_INVALID"
                            },
                            ...backtrace,
                            ...addons,
                            ...context,
                        }
                    }
                ]
            }
        }
    }
}

@e11sy e11sy marked this pull request as ready for review August 19, 2025 16:59
@neSpecc neSpecc changed the base branch from refactor/events to release/new-merge August 19, 2025 18:31
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.66%. Comparing base (0eced98) to head (f3d87ad).

Additional details and impacted files
@@                Coverage Diff                 @@
##           release/new-merge     #519   +/-   ##
==================================================
  Coverage              66.66%   66.66%           
==================================================
  Files                     11       11           
  Lines                    174      174           
  Branches                  24       24           
==================================================
  Hits                     116      116           
  Misses                    54       54           
  Partials                   4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

neSpecc
neSpecc previously approved these changes Aug 22, 2025
@neSpecc neSpecc changed the base branch from release/new-merge to master August 23, 2025 12:51
@neSpecc neSpecc dismissed stale reviews from slaveeks and themself August 23, 2025 12:51

The base branch was changed.

@neSpecc neSpecc merged commit cafdd2a into master Aug 26, 2025
4 of 6 checks passed
@neSpecc neSpecc deleted the refactor-project-overview branch August 26, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants